package com.cherrypt.api.model.dataobject;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

@Getter
@Setter
@ToString
@TableName(value = "t_post_info")
public class PostInfo implements Serializable {


    private static final long serialVersionUID = 656843730110007605L;

    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField(fill = FieldFill.INSERT)
    private Long created;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long modify;

    private Long infoId;
    private String type;
    private Float ratingAverage;
    private Integer ratingNumRaters;
    private String summary;
    private String image;
    private String content;


}
